package indi.zhang.webbatch.mysql.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * æ“ä½œæ—¥å¿—è¡¨
 * @TableName operation_log
 */
@TableName(value ="operation_log")
@Data
@ToString
@EqualsAndHashCode
public class OperationLog implements Serializable {
    /**
     *
     */
    @TableId
    private Long id;

    /**
     * æ“ä½œæ¨¡å—
     */
    private String module;

    /**
     * æ“ä½œç±»åž‹
     */
    private String type;

    /**
     * æ“ä½œæè¿°
     */
    private String description;

    /**
     * è¯·æ±‚å‚æ•°
     */
    private String requestParam;

    /**
     * è¯·æ±‚æ–¹æ³•
     */
    private String method;

    /**
     * è¿”å›žç»“æžœ
     */
    private String respContent;

    /**
     * è¯·æ±‚ç”¨æˆ·ID
     */
    private Long userId;

    /**
     * è¯·æ±‚ç”¨æˆ·åç§°
     */
    private String userName;

    /**
     * è¯·æ±‚IP
     */
    private String ip;

    /**
     * è¯·æ±‚URI
     */
    private String uri;

    /**
     * åˆ›å»ºæ—¶é—´
     */
    private Date createTime;

    /**
     * åˆ›å»ºäºº
     */
    private Long createId;

    /**
     * æ›´æ–°äºº
     */
    private Long updateId;

    /**
     * æ›´æ–°æ—¶é—´
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
